]> dgit.raspbian.org Git - openjdk-25.git/commitdiff
mips
authorOpenJDK Team <openjdk-25@packages.debian.org>
Thu, 24 Sep 2026 07:52:19 +0000 (19:52 +1200)
committerVladimir Petko <vladimir.petko@canonical.com>
Thu, 24 Sep 2026 07:52:19 +0000 (19:52 +1200)
# DP: Untested patch suggested to fix #983878

# DP: Untested patch suggested to fix #983878

Gbp-Pq: Name mips.diff

src/java.base/unix/native/libnio/fs/UnixNativeDispatcher.c

index 5f81241b7dd7a51c5f8a0e425a6562eae5cd807b..8ee42b5714002596aedb3859aaa368a7fc6be88b 100644 (file)
@@ -226,7 +226,7 @@ static statx_func* my_statx_func = NULL;
 /**
  * fstatat missing from glibc on Linux.
  */
-#if defined(__linux__) && (defined(__i386) || defined(__arm__))
+#if defined(__linux__) && (defined(__i386) || defined(__arm__) || (defined(__mips__) && !defined(__mips64)))
 #define FSTATAT64_SYSCALL_AVAILABLE
 static int fstatat_wrapper(int dfd, const char *path,
                              struct stat *statbuf, int flag)